target_include_directories(${PROJECT_NAME}.elf
    PUBLIC     
    ${CMAKE_CURRENT_LIST_DIR}/ports
    ${CMAKE_CURRENT_LIST_DIR}/include/threadx
    ${CMAKE_CURRENT_LIST_DIR}/include/filex
    ${CMAKE_CURRENT_LIST_DIR}/include/guix
    ${CMAKE_CURRENT_LIST_DIR}/include/levelx
    ${CMAKE_CURRENT_LIST_DIR}/include/netxduo
    ${CMAKE_CURRENT_LIST_DIR}/include/usbx
)

target_link_libraries(${PROJECT_NAME}.elf
    PUBLIC
    ${CMAKE_CURRENT_LIST_DIR}/lib/libguix.a
    ${CMAKE_CURRENT_LIST_DIR}/lib/libusbx.a
    ${CMAKE_CURRENT_LIST_DIR}/lib/libnetxduo.a
    ${CMAKE_CURRENT_LIST_DIR}/lib/libfilex.a
    ${CMAKE_CURRENT_LIST_DIR}/lib/liblevelx.a
    ${CMAKE_CURRENT_LIST_DIR}/lib/libthreadx.a
)
